<style>
    .head {
        background: rgba(0,0,0,0.5);
        color:white;
    }
</style>

<dom>
    <div class="head">
        页头
    </div>
</dom>